/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.geftu.view;

import br.com.geftu.util.ProtegerSenha;
import java.io.UnsupportedEncodingException;
  import java.security.MessageDigest;
  import java.security.NoSuchAlgorithmException;
   
  public class TesteAlgoritmo {
   
           public static void main(String args []) throws NoSuchAlgorithmException, UnsupportedEncodingException {
                     
               ProtegerSenha gera = new ProtegerSenha();
               
             //  gera.ProtegerSenha("teste 123");
              
               System.out.println(gera.geraHash("teste 123"));
                              System.out.println(gera.geraHash("123"));
                                             System.out.println(gera.geraHash("x"));
                       
           }
           
  }


